'''
Created on Dec 6, 2009

@author: tliu
'''

import appengine_utilities.sessions
from util import AuthorizedPage

class LogoutPage(AuthorizedPage):
    def getIfAuthorized(self):
        session = appengine_utilities.sessions.Session()
        session.delete()
        self.redirect('/')
        return
        
        
        
        
